gskglrenderer: Use gboolean instead of bool
authorFabio Lagalla <lagfabio@amazon.com>
Tue, 26 Jan 2021 13:57:02 +0000 (14:57 +0100)
committerFabio Lagalla <lagfabio@amazon.com>
Wed, 27 Jan 2021 11:44:10 +0000 (12:44 +0100)
gsk/gl/gskglrenderops.c
gsk/gl/gskglrenderopsprivate.h
gsk/gl/opbuffer.h

index ad9518b2282e616f71b70d70674a946d3989cfab..f5c6ab6e62233c14a1e4581e04801d12332955c3 100644 (file)
@@ -859,7 +859,7 @@ void
 ops_set_linear_gradient (RenderOpBuilder     *self,
                          guint                n_color_stops,
                          const GskColorStop  *color_stops,
-                         bool                 repeat,
+                         gboolean             repeat,
                          float                start_x,
                          float                start_y,
                          float                end_x,
@@ -924,7 +924,7 @@ void
 ops_set_radial_gradient (RenderOpBuilder    *self,
                          guint               n_color_stops,
                          const GskColorStop *color_stops,
-                         bool                repeat,
+                         gboolean            repeat,
                          float               center_x,
                          float               center_y,
                          float               start,
index d556009d0679c0f0d8d37f7dd3960fedfe446d22..20af58fda51f1ec77aa8fbbda316b90bfbc6ae9d 100644 (file)
@@ -317,7 +317,7 @@ void              ops_set_unblurred_outset_shadow   (RenderOpBuilder         *se
 void              ops_set_linear_gradient (RenderOpBuilder     *self,
                                            guint                n_color_stops,
                                            const GskColorStop  *color_stops,
-                                           bool                 repeat,
+                                           gboolean             repeat,
                                            float                start_x,
                                            float                start_y,
                                            float                end_x,
@@ -325,7 +325,7 @@ void              ops_set_linear_gradient (RenderOpBuilder     *self,
 void              ops_set_radial_gradient (RenderOpBuilder        *self,
                                            guint                   n_color_stops,
                                            const GskColorStop     *color_stops,
-                                           bool                    repeat,
+                                           gboolean                repeat,
                                            float                   center_x,
                                            float                   center_y,
                                            float                   start,
index a5c1af9189d82393fb08fde811a35d03ed735a7a..e13e8ab2e482dbb1b5572efcdcf0bb5aa8920856 100644 (file)
@@ -146,7 +146,7 @@ typedef struct
   IntUniformValue n_color_stops;
   float start_point[2];
   float end_point[2];
-  bool repeat;
+  gboolean repeat;
 } OpLinearGradient;
 
 typedef struct
@@ -157,7 +157,7 @@ typedef struct
   float end;
   float radius[2];
   float center[2];
-  bool repeat;
+  gboolean repeat;
 } OpRadialGradient;
 
 typedef struct